package com.cloud.logger.zchain.zchainserver.mongo;


import com.cloud.logger.zchain.zchainserver.entity.AngelaLoggerProjectNode;

import java.io.Serializable;
import java.util.List;

/**
 * User: wcy
 * Date: 2017/11/2
 * Time: 11:29
 */
public interface AngelaProjectNodeRepository extends BaseMongoRepository<AngelaLoggerProjectNode,Serializable> {

    List<AngelaLoggerProjectNode> findByCode(String code);

    long countByCodeAndStatus(String code, String off);

    long countByCode(String code);
}
